
package za.ac.cput.peter.SoftwareDesignPrincipals.CRP.CRPFixed.Conf;

import org.springframework.beans.factory.annotation.Configurable;
import org.springframework.context.annotation.Bean;
import za.ac.cput.peter.SoftwareDesignPrincipals.CRP.CRPFixed.Impl.Employee;
import za.ac.cput.peter.SoftwareDesignPrincipals.CRP.CRPFixed.Impl.Manager;

@Configurable
public class AppConfig 
{
    @Bean
    public Employee emp(){ return new Manager(); }
}
